package com.finance.capacity.casualDetail.capService;

import com.finance.capacity.casualDetail.bean.pojo.CasualDetailList;
import com.finance.capacity.casualDetail.capDao.CasualDetailMapper;
import com.finance.capacity.deliveryDetail.bean.pojo.DeliveryDetailList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liyue on 2017/9/4.
 */
@Service
public class CasualDetailService implements ICasualDetailService {
    @Autowired
    private CasualDetailMapper casualDetailMapper;


    @Override
    public List<DeliveryDetailList> getCasualList(String siteDetailId) {
        return casualDetailMapper.getCasualList(siteDetailId);
    }

    @Override
    public List<CasualDetailList> casualCapDetail(String relationId) {
        return casualDetailMapper.casualCapDetail(relationId);
    }
}
